package com.tmxk.jdbc04.po;

/**
 * 出行计划实体类(JavaBean)
 */
public class Schedule {
    /**
     * 主键,使用序列自增长,出行计划编号
     */
    private int id;
    /**
     * 出差人员
     */
    private String userName;
    /**
     * 职务
     */
    private String duty;
    /**
     * 出行方式编号,对应出行方式主键
     */
    private int tripModeId;
    /**
     * 行程状态,0:未出行; 1:已取消;
     */
    private int status;
    /**
     * 出行日期, yyyy-MM-dd
     */
    private String departTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty;
    }

    public int getTripModeId() {
        return tripModeId;
    }

    public void setTripModeId(int tripModeId) {
        this.tripModeId = tripModeId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getDepartTime() {
        return departTime;
    }

    public void setDepartTime(String departTime) {
        this.departTime = departTime;
    }

    public Schedule() {
    }

    public Schedule(int id, String userName, String duty, int tripModeId, int status, String departTime) {
        this.id = id;
        this.userName = userName;
        this.duty = duty;
        this.tripModeId = tripModeId;
        this.status = status;
        this.departTime = departTime;
    }
}
